All Questions
2 questions
6votes
1answer
1kviews
What is the origin of "Program to an interface, not an implementation"? [closed]
What is the origin of "Program to an interface, not an implementation"? Does it originate from Design Patterns, 1994, by GoF, or from a computer scientist or from some concepts in computer ...
2votes
1answer
277views
Using partially implemented interfaces
Consider the following hierarchy in C++ notation: class A { public: virtual void doStuff()=0; virtual void doOtherStuff()=0; }; class B:public A { public: ...